// AWTActionEvent.h: interface for the AWTActionEvent class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_AWTACTIONEVENT_H__DC9C0D2A_40B4_11D2_A3F1_006097A44215__INCLUDED_)
#define AFX_AWTACTIONEVENT_H__DC9C0D2A_40B4_11D2_A3F1_006097A44215__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#include "AWTEvent.h"

#define ACTION_FIRST 1001

class AFX_EXT_CLASS AWTActionEvent : public AWTEvent  
{
DECLARE_DYNAMIC(AWTActionEvent);
public:
	AWTActionEvent(AWTObject* source, int id, LPTSTR command);
	AWTActionEvent(AWTObject* source, int id, CString* command);
	virtual ~AWTActionEvent();

	enum {ACTION_PERFORMED = ACTION_FIRST};

	CString* getActionCommand()
		{return &m_command;}

protected:
	CString m_command;
};

#endif // !defined(AFX_AWTACTIONEVENT_H__DC9C0D2A_40B4_11D2_A3F1_006097A44215__INCLUDED_)
